﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<GabageFactory.Models.Stack>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	编辑堆场
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div id="dolphincontainer">
	    <div id="dolphinnav">
	        <ul>
                <li><a href="javascript:return(false);" class="current"><span>基本信息</span></a></li>
                <li><a href="/Analyze/Weather/<%:ViewData["id"] %>"><span>气象信息</span></a></li>
                <li><a href="/Analyze/Stack/<%:ViewData["id"] %>"><span>堆场信息</span></a></li>
                <li><a href="/Analyze/Pool/<%:ViewData["id"] %>"><span>调节水池</span></a></li>
                <li><a href="/Analyze/Material/<%:ViewData["id"] %>"><span>材料信息</span></a></li>
                <li><a href="/Analyze/Settle/<%:ViewData["id"] %>"><span>沉降模型</span></a></li>
	        </ul>
	    </div>
	</div>

    <table class="tableCss" cellspacing="0" cellpadding="0" align="center" border="0" style="margin-top:10px">
        <tr>
            <th colspan="2" class="heightrow" align="left" style="padding:10px">
                堆场信息
            </th>
        </tr>
        <tr>
            <td class="row1" align="right" width="100px">所属公司:</td>
            <td class="row1" align="left">
                <%: Html.DisplayTextFor(model => model.Factory.Name)%>
            </td>
        </tr>
        <tr>
           <td class="row1" align="right">堆场名称:</td>
           <td class="row1" align="left">
                <%: Html.DisplayTextFor(model => model.Name) %>
           </td>
        </tr>
        <tr>
           <td class="row1" align="right">堆场位置:</td>
           <td class="row1" align="left">
                <%: Html.DisplayTextFor(model => model.Address)%>
           </td>
        </tr>
        <tr>
            <td class="row1" align="right">地理坐标:</td>
            <td class="row1" align="left">
                <%: Html.DisplayTextFor(model => model.GeoPosition)%>
            </td>
        </tr>
        <tr>
            <td  class="row1" align="right">堆场描述:</td>
            <td  class="row1" align="left">
                <%: Html.TextAreaFor(model => model.Description, new { cols = "80" , rows = "10", @readonly="readonly" })%>
            </td>
        </tr>
        <tr>
            <td  class="row1" align="right">图片一:</td>
            <td  class="row1" align="left"><input type="file" id="Pic1" name="Pic1" /></td>
        </tr>
        <tr>
            <td  class="row1" align="right">图片二:</td>
            <td  class="row1" align="left"><input type="file" id="Pic2" name="Pic2" /></td>
        </tr>
        <tr>
            <td  class="row1" align="right">图片三:</td>
            <td  class="row1" align="left"><input type="file" id="Pic3" name="Pic3" /></td>
        </tr>
    </table>

    <table class="tableCss" cellspacing="0" cellpadding="0" align="center" border="0" style="margin-top:25px">
        <tr>
            <th colspan="2" class="heightrow" align="left" style="padding:10px">
                运营信息
            </th>
        </tr>
        <tr>
            <td class="row1" align="right" style="width:100px">使用年限:</td>
            <td class="row1" align="left"> 
                <%: Html.DisplayTextFor(model => model.LifeTime)%>年
            </td>
        </tr>
        <tr>
            <td class="row1" align="right">开始运营时间:</td>
            <td class="row1" align="left">
                    <%: Html.DisplayTextFor(model => model.BeginYear)%>年<%: Html.DisplayTextFor(model => model.BeginMonth)%>月
            </td>
        </tr>
    </table>
</asp:Content>